/*
 * Comm_Manager.h
 *
 *  Created on: Mar 7, 2012
 *      Author: ajeffery
 */

#ifndef COMM_MANAGER_H_
#define COMM_MANAGER_H_

#include "Double_Buffer.h"

class Comm_Manager {
public:
	Comm_Manager(Double_Buffer *iBuffer);
	virtual ~Comm_Manager();

	void readSocket();
	void send_statusReply();

private:
	void parse(char* iMsg, int len);

//Variables

private:
	int ecSocket;
	Double_Buffer *buffer;
};

#endif /* COMM_MANAGER_H_ */
